// Copyright (c) 2007 Robin Boerdijk. All rights reserved.
//
// This software is licensed under the terms of the Microsoft Reciprocal License as described 
// in the file LICENSE.txt, which you should have received as part of this distribution. The 
// license terms are also available at http://www.opensource.org/licenses/ms-rl.html.

#ifndef demo_MainWindow_h_included
#define demo_MainWindow_h_included

#include "wtk/ApplicationWindow.h"

#include "demo/MenuBar.h"

namespace demo
{
	class MainWindow : public wtk::ApplicationWindow
	{
	public:

		MainWindow();

		virtual wtk::Menu &GetMenuBar();

	private:

		MenuBar m_menuBar;

		void Exit(wtk::MenuCommand *sender);

		void ShowAboutBox(wtk::MenuCommand *sender);

		void ShowCalculator(wtk::MenuCommand *sender);
	};
}

#endif